package com.ishowcode.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Data
@ConfigurationProperties(prefix = "mycar")
public class Car {
   private String brand;
   private int price;
}
